fix object declaration