Fixed non-continuous profile (thanks Clemens)