fixed initialized to work with aribitary attribute