changed ticket default type to local stock
moved entire meta handling to meta adapter