Fix inline styles bug