Error Fix and Rake Migration