corrections for gcc