getting an error