bugfixes and global chrmeta