removing inline elements

@phamann - not tested this