Added error handling for wrong schemas