made sure that every view get the correct listener