post construct not working