def fix_path(path):
    """
    Fixes the path with the slashes in front and at the bottom, if they are not there
    :param path: the path to check
    :return: the correct path
    """
    correct_path = '/' + path if not path.startswith('/') else path
    correct_path = correct_path + '/' if not correct_path.endswith('/') else correct_path
    return correct_path