fix margin-declaration typecasting