fix validation key problem