Replaced em alias by a function so that it works as expected