something wrong with rendering of elements