Fixed some errors in CREATE