Fixed fatal error