fixing styles bug