Resolved the errors