warnings fixed and a fecepost