fixes in vector layers