fix variable lock pattern sizes