fix parser
check for common layers
mergefix