added default votelock
fixed locked_req! to query correct attribute