Fixed bug with vk registration