migration to laravel 4.1, fixed #23