Fixed lape errors