fixed views so that no 500 error, but not saving to profile