Fixed the scheam errors