Fixed some problem in keystone configuration