Fixed template condition