fix devise key problem