add gemfile.lock
fixed bugs