fixed bug with continuous mappings