fixing some syntactical errors / warnings